-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automated Testing: Remove Puppeteer CI Job #59311
Conversation
I think this needs to become a peer dependency just like Playwright. @swissspidy, @gziolo what do you think? gutenberg/packages/scripts/package.json Line 79 in 8ce1a6c
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
e76059c
to
1ff8817
Compare
As long as it works when using |
@Mamaduka can we remove the npm dependency entirely since we now recommend playwright, It can be a breaking change in the wp-scripts package but that seems fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this all that needs to be removed? What about the e2e-tests package?
First we’ll need to relocate test plugins in different directory and then I guess deprecate the package. Not sure what’s the policy about that. |
I think |
➕ to this. |
Another smaller thing is that we can now reference |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed we're still running the puppeteer CI job. It takes five minutes even though it runs no tests 😆
Would love to see this PR merged to reduce our computations. ❤️
A small tracking issue for all the tasks associated with removing puppeteer would be great if anyone wants to volunteer to do that.
1ff8817
to
34b004e
Compare
Good point, @talldan! I'll create a separate issue to remove Puppeteer from the |
Decided to rebase this and it'll auto-merge when all tests pass. |
Flaky tests detected in 34b004e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/8519245299
|
Oops, I forgot to add the co-authors. Sorry everyone 😞 |
What?
Now that Playwright migration is completed, we can safely remove Puppeteer and related.
Testing Instructions
CI should be green.